package com.vf.admin.client.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppRoomPaimai;

import java.util.List;
import java.util.Map;

/**
 * 房间排麦
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppRoomPaimaiService.java
 * @Description TODO
 * @createTime 2021年07月29日 14:51:00
 */
public interface AppRoomPaimaiService {

    //详情
    AppRoomPaimai get(Integer id);

    //修改保存
    void save(AppRoomPaimai haoYou);

    //删除
    void del(Integer roomid,Integer userid);

    //根据房间id，用户id查询
    AppRoomPaimai getRoom(Integer roomid,Integer userid);

    //修改上麦状态
    void updateState(Integer id,Integer state);

    //房间排麦列表
    List<AppRoomPaimai> list(Map<String,Object> map, SplitPageBean splitPageBean);


}
